/*
package org.carl.grpc.could.common.eureka.controller

import org.carl.grpc.could.common.eureka.service.GrpcClientService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.RestController

*/
/**
 * email carl.chen@bk.ru
 * @Author: 陈青松
 * @Date: 2019/4/12 0:40
 *//*

@RestController
class HomeController {
    @Autowired
    private val grpcClientService: GrpcClientService? = null

    @RequestMapping("/")
    fun printMessage(@RequestParam(defaultValue = "LinShen") name: String): String {
        return grpcClientService!!.sendMessage(name)
    }
}*/
